home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 297 < prev    next >
Encoding:
Text File  |  1996-08-05  |  990 b   |  45 lines

  1. Path: in1.uu.net!pipeline!not-for-mail
  2. From: gordo@nyc.pipeline.com (Gordon Krefting)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C to C++
  5. Date: 3 Jan 1996 11:33:13 -0500
  6. Organization: The Pipeline
  7. Message-ID: <4ceb49$ssn@pipe9.nyc.pipeline.com>
  8. References: <30EA2EA0.86C@comcept.ab.ca>
  9. NNTP-Posting-Host: pipe9.nyc.pipeline.com
  10. X-PipeUser: gordo
  11. X-PipeHub: nyc.pipeline.com
  12. X-PipeGCOS: (Gordon Krefting)
  13. X-Newsreader: The Pipeline v3.4.0
  14.  
  15. On Jan 02, 1996 23:22:08 in article <C to C++>, 'The BFP
  16. <bfp@comcept.ab.ca>' wrote: 
  17.  
  18.  
  19. >Hey, 
  20. >I am new at this stuff, and I am trying to learn C++.  I have looked at C 
  21.  
  22. >source code, and incredibly Simple programs like 
  23. ><#include stdio.h> 
  24. >printf("Hi") 
  25. >Will not compile for C++.  I am lame, yes, I kn ow but, hey, Nobody is  
  26. >perfect, anyways, could somebody help me :) 
  27. >Please :) 
  28.  
  29. Your "Simple" program won't compile for C either - try 
  30.  
  31. #include <stdio.h> 
  32. main () 
  33.    printf("Hi"); 
  34.  
  35. Also, get a book on C! 
  36.  
  37. gordo
  38.